package com.globaldom.web;

import java.util.logging.Logger;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/action")
@Controller
public class ActionXController {

	// private static final Logger log =
	private static final Logger log= Logger.getLogger(ActionXController.class.getName());
	
	@RequestMapping(value = "/privacy",method = RequestMethod.GET)
	protected String showPrivacy(Model model, HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		
		return "privacy";
	}
	
	@RequestMapping(value = "/tos", method = RequestMethod.GET)
	public String showtos(HttpSession session,HttpServletRequest request) {
		
		return "tos";
	}
	

	@RequestMapping(value = "/tutorial", method = RequestMethod.GET)
	public String showtutorial(HttpSession session,HttpServletRequest request) {
		
		return "tutorial";
	}
	
	@RequestMapping(value = "/tech", method = RequestMethod.GET)
	public String showtech(HttpSession session,HttpServletRequest request) {
		
		return "tech";
	}
	
	@RequestMapping( method = RequestMethod.GET)
	public String showfeckoff(HttpSession session,HttpServletRequest request) {
		
		return "loggedout";
	}
	



}
